
#ifndef _TIMER_H_
#define _TIMER_H_

#include "windows.h"

class Timer
{
private:
	// Singleton
	Timer( void );
	Timer(const Timer&);
	~Timer( void );
	Timer& operator =(const Timer&);

    int             fps;
    float           timeStart;
    float           timeDelta;
    LARGE_INTEGER   tickFrequency;
	float			scale;

public:
	static Timer* getInstance();

    void Reset( void );
    void Update( void );
    float GetTime( void );
    float GetDeltaTime( void );
    int GetFPS( void );
	void setScale(float Scale);
	float getScale() const { return scale; }
};

#endif